<template>
  <el-dialog
    title="提示"
    :visible.sync="isShow"
    width="30%"
    :before-close="handleClose"
    class="ss"
    fullscreen
  >
    <span>这是一段信息</span>
    <span slot="footer" class="dialog-footer">
      <el-button @click="isShow = false">取 消</el-button>
      <el-button type="primary" @click="isShow = false">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  name: '',
  data() {
    return {
      isShow: false
    }
  },
  methods: {
    // 关闭对话框时执行的处理函数
    handleClose() {
      console.log('关闭')
    }
  }

}
</script>

<style lang="scss" scoped>
::v-deep .el-dialog__header{
    background-image: linear-gradient(to right,#01c4fa,#109afa)
}
</style>
